<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>数组对象</title>
	<script type="text/javascript">
		arr = [55,56,45,3,2,423,4];

		arr1 = [345,45,445];

		newarr =arr.concat(arr1);

		alert(arr);

		alert(newarr);


		// num =2;
		// arr.splice(,0,888,777,666);
		// 
		// newarr = arr.slice(2,4);
		// 
		// str = arr.join("*");

		alert(str);

		// arr.push(79);

		// alert(arr);

		// function add (x,y) {
		// 	x[x.length]=y;
		// 	return x;
		// }

		// x = add(arr,79);

		// alert(x);
		// 
		// 
		arr  = [435,45,45,7,8,7,7,7];

		// 实现去重
		// 
		arr  = [56,67,5,89,345];

		//排序




	</script>
</head>
<body>
	
</body>
</html>